const express = require("express");

const app = express();

// 设置静态资源中间件
app.use(express.static(__dirname + "/尚品汇")); // 静态目录绝对路径

app.all("*", (req, res) => {
  res.send("<h1>404 Not Found</h1>");
});

app.listen(3000, () => {
  console.log("服务器已启动");
});
